package com.tomato.sys.domain.enums;

import com.tomato.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 性别
 *
 * @author lizhifu
 */
@AllArgsConstructor
@Getter
public enum GenderEnum implements BaseEnum<Integer> {

	/**
	 * 0 未知
	 */
	UNKNOWN(0, "未知"),

	/**
	 * 男 1 奇数为阳
	 */
	MAN(1, "男"),

	/**
	 * 女 2 偶数为阴
	 */
	WOMAN(2, "女");

	private final Integer value;

	private final String desc;

}
